<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>单方向边框线</title>
    <style>
        div{
            height: 200px;
            width: 200px;
            background-color: pink;

            border-top: 1px solid #000;
            border-bottom: 5px dotted #079b56;
            border-left: 2px dashed #f20808;
            border-right: 8px solid #0647eb;
        }

    </style>
</head>
<body>
    <div>div标签</div>
</body>
</html>